package com.jims.master.modules.sync.service; /**
 * jims
 */
import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sync.dao.LabConsumablDao;
import com.jims.master.modules.sync.entity.LabConsumabl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 检验耗材Service
 * @author jicunteng
 * @version 2018-05-05
 */
@Service
@Transactional(readOnly = true)
public class LabConsumablService extends CrudService<LabConsumablDao, LabConsumabl> {

	public LabConsumabl get(String id) {
		return super.get(id);
	}
	
	public List<LabConsumabl> findList(LabConsumabl labConsumabl) {
		return super.findList(labConsumabl);
	}
	
	public Page<LabConsumabl> findPage(Page<LabConsumabl> page, LabConsumabl labConsumabl) {
		return super.findPage(page, labConsumabl);
	}
	
	@Transactional(readOnly = false)
	public int save(LabConsumabl labConsumabl) {
		return super.save(labConsumabl);
	}
	
	@Transactional(readOnly = false)
	public int delete(LabConsumabl labConsumabl) {
		return super.delete(labConsumabl);
	}
	
}